<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>冲突信息</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link href="__PUBLIC__/css/layui.css" rel="stylesheet" type="text/css"/>
    <link href="__PUBLIC__/css/admin.css" rel="stylesheet" type="text/css"/>
    <link href="__PUBLIC__/css/public.css" rel="stylesheet" type="text/css"/>
    
</head>
<body>
<div class="layui-conter">
    <div class="layui-col-md12">
        <div class="navigation">
            <span>市场></span><span>客户冲突信息</span>
        </div>

        <div class="white-conter">
            <div class="layui-col-md12">
                <div class="layui-card">
                    <div class="title-blue"><b>客户冲突信息</b></div>
                </div>
                <div class="layui-col-md12">
                    <div class="layui-card">
                        <div class="layui-card-body">
													<form class="layui-form" action="{:U('Information/Export')}" method="post" lay-filter="component-form-group">
															<div class=" layui-row" style="margin-top: 20px">
																	<if condition="$_SESSION['qe_user']['xid'] eq 0">
																	<div class=" layui-col-xs3" style="width: 350px;">
																			<label class="layui-form-label">报名时间：</label>
																			<div class="layui-input-block">
																					<input type="text" name="news_time" id="signTime" lay-verify="date" placeholder="请选择"  class="layui-input">
																			</div>
																	</div>
																	<div class=" layui-col-xs3" style="width: 350px;">
																			<label class="layui-form-label">校区选择：</label>
																			<div class="layui-input-block">
																					<select name="xid">
																						<option value="">请选择</option>
																						<foreach name="other_data" item="s">
																							<option value="{$s.id}">{$s.name}</option>
																						</foreach>
																					</select>
																			</div>
																	</div>
																	</if>
																	<button class="layui-btn layui-btn-sm layui-btn-normal" style="margin-left: 20px;">导出</button>
															</div>
															</form>
                            <table  class="layui-hide" id="test-table-operate" lay-filter="test-table-operate"></table>
                            <div class="layui-form layui-border-box layui-table-view" lay-filter="LAY-table-1">
                                <div class="layui-table-box" style="margin-bottom: 20px">
                                    <div class="layui-table-body layui-table-main">
                                        <table cellspacing="0" cellpadding="0" border="0" class="layui-table">
                                            <thead>
                                            <tr>
                                                <th data-field="m-type">
                                                    <div class="layui-table-cell laytable-cell-m-type">
                                                        <span>姓名</span>
                                                        </span>
                                                    </div>
                                                </th>
                                                <th data-field="m-type">
                                                    <div class="layui-table-cell laytable-cell-m-type" align="center">
                                                        <span>手机</span>
                                                    </div>
                                                </th>
                                                <th data-field="m-type">
                                                    <div class="layui-table-cell laytable-cell-m-type" align="center">
                                                        <span>导入日期</span>
                                                    </div>
                                                </th>
                                                <th data-field="m-linenum">
                                                    <div class="layui-table-cell laytable-cell-m-linenum" align="center">
                                                        <span>性别</span>
                                                    </div>
                                                </th>
                                                <th data-field="m-type">
                                                    <div class="layui-table-cell laytable-cell-m-type" align="center">
                                                        <span>渠道来源</span>
                                                    </div>
                                                </th>
                                                <th data-field="m-type">
                                                    <div class="layui-table-cell laytable-cell-m-type" align="center">
                                                        <span>导入人</span>
                                                    </div>
                                                </th>
                                            </tr>
                                            </thead>
                                            <tbody>
																						<foreach name="sc_data" item="sc">
                                            <tr data-index="0" class="">
                                                <td data-field="m-type" align="center">
                                                    <div class="layui-table-cell laytable-cell-m-type">{$sc.name}</div>
                                                </td>
                                                <td data-field="m-type" align="center">
                                                    <div class="layui-table-cell laytable-cell-m-type">{$sc.phone}</div>
                                                </td>
                                                <td data-field="m-type" align="center">
                                                    <div class="layui-table-cell laytable-cell-m-type">{$sc.news_time}</div>
                                                </td>
                                                <td data-field="m-linenum" align="center">
                                                    <div class="layui-table-cell laytable-cell-m-linenum">
                                                        {$sc.sex}
                                                    </div>
                                                </td>
                                                <td data-field="m-type" align="center">
                                                    <div class="layui-table-cell laytable-cell-m-type">{$sc.am_name}</div>
                                                </td>
                                                <td data-field="m-type" align="center">
                                                    <div class="layui-table-cell laytable-cell-m-type">{$sc.sc_name}</div>
                                                </td>
                                            </tr>
																						</foreach>
                                            </tbody>
                                        </table>
                                        
                                    </div>
                                </div>
																<ul class="pagination pagination-large"><span class="rows">共{$count}条记录</span></ul>
                                <div class="layui-table-page">
																	<div id="layui-table-page1">
                                        <div class="layui-box layui-laypage layui-laypage-default" id="layui-laypage-1">
																					{$page}
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        


    </div>
</div>
</body>
<script src="__PUBLIC__/js/layui.all.js"></script>
<script src="__PUBLIC__/js/jquery.js"></script>
<script>
    layui.use(['form', 'layedit', 'laydate'], function(){
        var form = layui.form
            ,layer = layui.layer
            , $ = layui.jquery
            ,layedit = layui.layedit
            ,laydate = layui.laydate;
        //日期
        laydate.render({
            elem: '#signTime'
        });
        form.render()

    });
</script>

<script>
function search_page(){
	 var page = $('#page').val();
	 var scid = $('#scid').val();
	 var date = $('#date').val();
	 window.location.href="{:U('Information/index')}?pageid="+page+"&scid="+scid+"&date="+date;
}
function search(){
	var scid = $('#scid').val();
	var date = $('#date').val();
	window.location.href="{:U('Information/index')}?scid="+scid+"&date="+date;
}
</script>
</html>